package org.jeecg.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.domain.CityDirectory;
import org.jeecg.domain.dto.ResponseResult;
import org.jeecg.service.CityDirectoryService;
import org.jeecg.mapper.CityDirectoryMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 86182
* @description 针对表【city_directory(城市编码表)】的数据库操作Service实现
* @createDate 2024-12-20 10:03:48
*/
@Service
public class CityDirectoryServiceImpl extends ServiceImpl<CityDirectoryMapper, CityDirectory>
    implements CityDirectoryService{
    //    城市列表
    @Override
    public ResponseResult cityList() {
        List<CityDirectory> list = this.list();
        return ResponseResult.okResult(list);
    }
}




